#include <QtGui/QApplication>
#include "mainwindow.h"
#include "usbrelayboardx440.h"



/**
 * Entry point.
 * The objects involved in the MVC pattern are created here and the Controller
 * is connected to the View and the Model.
 */
//-------------------------------------------------------------------------------- main
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    // Create MVC
    USBRelayBoardX440Model model;
    MainWindow view;
    USBRelayBoardX440Controller controller;

    // Connect the controller to the model and the view
    controller.setModel(&model);
    controller.setView(&view);

    // Show the HMI
    view.show();

    return a.exec();
}
